@import "../common-var";
.layout-module_grade {
  width: 100%;
  height: 100%;
  margin-top: 10px;

  .setting-title {
    font-size: 20px;
    line-height: 24px;
    font-weight: 500;
    color: var(--font-color);
    z-index: 100;
    margin: 0;
    text-align: inherit;
  }

  .setting-title:not(:first-child) {
    padding: 40px 0 30px 0;
  }

  .setting-title:first-child {
    padding-bottom: 20px;
  }

  .points {
    padding: 30px 0 20px 0 !important;
  }

  .layout-module_item {
    text-align: left;
    margin-top: 5px;
  }

  .layout-module_level {
    .nick-name {
      display: inline-block;
      font-size: 18px;
      font-weight: 700;
      margin-right: 8px;
      cursor: default;
    }

    .level-module_experienceBar {
      position: relative;

      .experience-bar-body {
        display: inline-block;
        width: auto;
        margin-top: 10px;

        .progressBar {
          display: flex;
          position: relative;
          align-items: center;

          .experience-bar-level {
            width: 48px;
            height: 24px;
            font-weight: 700;
            color: #fff;
            padding-left: 10px;
            font-size: 12px;
            line-height: 24px;
            cursor: default;
            display: inline-block;
            background: url(//s1.hdslb.com/bfs/static/jinkela/account/assets/icons_m_2.png) no-repeat;
            background-position: -264px -852px;
          }

          .experience-bar-progress {
            width: 280px;
            height: 24px;
            line-height: 24px;
            background-color: #e5e9ef;
            border-top-right-radius: 4px;
            border-bottom-right-radius: 4px;
            display: inline-block;
            position: relative;
            text-indent: -9999px;
            text-align: center;
          }

          .experience-bar-upgo {
            position: absolute;
            top: 0;
            left: 0;
            background-color: #ff905a;
            width: 0;
            height: 24px;
            transition: all .3s ease-in-out;
            transition-delay: .3s;
            border-radius: 0 4px 4px 0;
          }
        }
      }

      .experience-bar-level-number {
        height: 24px;
        color: #99a2aa;
        margin-left: 8px;
        font-size: 12px;
        line-height: 24px;
        cursor: default;

        i {
          font-style: normal;
        }

        .now-num {
          //color: #222;
        }

        .num-icon {
          margin: 0 2px;
        }
      }
    }
  }

  .layout-module_dailyReward {
    .dailyReward-module_exp {

      .daily-exp-item {
        display: inline-block;
        width: 20%;
        box-sizing: border-box;
        //padding: 22px 0 0;
        position: relative;

        .daily-exp-box {
          text-align: center;

          .position-ok {
            background-position: -252px -508px;
          }

          .position-rest {
            background-position: -252px -636px;
          }

          .iconfont {
            font-size: 30px;
          }
        }


        .daily-exp-icon {
          width: 72px;
          height: 72px;
          border-radius: 72px;
          background: url(//s1.hdslb.com/bfs/static/jinkela/account/assets/icons_m_2.png) no-repeat;
          text-align: center;
          line-height: 72px;
          color: #fff;
          margin: 0 auto;
        }

        .daily-exp-info {
          font-size: 14px;
          color: #222;
          margin-top: 16px;
          width: 100%;
          text-align: center;
        }

        .daily-exp-getexp {
          width: 80px;
          height: 20px;
          border-radius: 4px;
          background-color: #8a95a8;
          color: #fff;
          text-align: center;
          line-height: 19px;
          margin: 15px auto 0;
        }

        .daily-exp-none {
          font-size: 12px;
          color: #99a2aa;
          margin: 15px auto 0;
          text-align: center;
          width: 80px;
          height: 20px;
          border-radius: 4px;
          border: 1px solid #8a95a8;;
        }

        .h-line {
          display: inline-block;
          position: absolute;
          top: 54px;
          right: 0;
          width: 1px;
          height: 74px;
          border-left: 1px solid #e5e9ef;
        }
      }
    }
  }

  .layout-module_chargeIncentive {

    .chargeIncentive-module_wrapper {
      position: relative;
      height: 120px;
      display: flex;
      align-items: center;
      padding-right: 20px;

      .charge-incentive-left-img {
        vertical-align: middle;
        border-style: none;
        height: 120px;
        opacity: 0.6;
        border-radius: 6px;
      }

      .charge-incentive-content {
        flex: 1;
        margin-left: 20px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        height: 120px;
        color: var(--title-color);

        .charge-incentive-count {
          line-height: 1.4;
          font-size: 24px;
          display: inline-block;
          margin: 0 8px;
          color: var(--font-color);
          font-weight: 600;
        }

        .charge-incentive-tip {
          margin-top: 12px;
          color: var(--title-color);
        }
      }
    }
  }

  .layout-module_acquireRule {
    max-width: 680px;

    .acquire-rule-wrapper {
      margin: 0;
      padding: 0;
      list-style: none;
      display: flex;
      flex-wrap: wrap;

      .acquire-rule-wrapper-item-wrapper {
        height: 46px;
        padding-right: 10px;
        width: 33.33%;
        margin-bottom: 12px;

        .acquire-rule-item {
          display: flex;
          justify-content: space-between;
          align-items: center;
          padding: 0 13px;
          background: var(--on-theme-bg-color);
          height: 100%;
          border-radius: 8px;

          .acquire-rule-count {
            color: var(--title-color);
          }
        }
      }
    }
  }

  .layout-module_pointsHistory {
    margin-right: 40px;

    /deep/ .ivu-tabs-ink-bar {
      background: #8A8F8D;
    }

    /deep/ .ivu-tabs-nav .ivu-tabs-tab-active {
      color: var(--title-color);
    }

    /deep/ .ivu-tabs-nav .ivu-tabs-tab:hover {
      color: var(--font-color);
    }

    /deep/ .ivu-tabs-nav .ivu-tabs-tab {
      font-size: 14px;
      color: var(--font-color);
    }

    .points-history {
      .list-row {
        flex-flow: row wrap;
        display: flex;
        margin-left: -5px;
        width: 100%;
        row-gap: 0px;

        .list-col-behavior {
          display: block;
          flex: 0 0 70%;
          width: 70%;
        }

        .list-col-time {
          display: block;
          flex: 0 0 15%;
          width: 15%;
        }

        .list-col-score {
          display: block;
          flex: 0 0 10%;
          width: 10%;
        }

        .list-col {
          padding-left: 15px;
          padding-right: 15px;
          position: relative;
          min-height: 1px;
        }

        .list-module_tr {
          text-align: right;
        }
      }

      .history-list-header {
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
        padding: 12px 20px 12px 0;
        color: var(--title-color);
        background: transparent;
        border-top: 0;
      }

      .history-list-container {
        position: relative;
        transition: opacity .3s;

        .history-list-items {
          margin: 0;
          padding: 0;
          list-style: none;
          outline: none;

          .history-list-item {
            outline: none;
            display: flex;
            align-items: center;
            justify-content: space-between;
            border-bottom: 1px solid @border-color_normal;
            color: var(--font-color);
            padding: 12px 20px 12px 0;

            .list-module_operate {
              display: block;
              overflow: hidden;
              text-overflow: ellipsis;
              white-space: nowrap;

              .encourage-log-mark {
                margin-right: 5px;
              }

              .encourage-log-title {
                color: var(--font-color);
                font-size: 14.5px;
                font-weight: 500;
              }

              .log-fans {
                font-weight: 600;
              }

              .log-comment {
                font-size: 14px;
                font-weight: 400;
              }
            }
          }
        }
      }

      .history-list-pagination {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        line-height: 32px;
        margin: 20px 0;

        .pagination-prefix {
          margin-right: 20px;
          color: var(--title-color);
        }

        .pagination-suffix {
          margin-left: 15px;

          .ivu-dropdown {
            border: 1px solid @border-color_normal;
            border-radius: 4px;
            .ivu-dropdown-item-selected, .ivu-dropdown-item-selected:hover {
              //background: #f3f3f3;
            }

            .pageSize-select {
              color: var(--title-color);
            }
          }

          .pageSize-select {
            margin: 0 15px;
            cursor: pointer;

            .expand {
              font-size: 14px;
              color: #8a8f8d;
            }

            .rotate {
              display: inline-block;
              transform: rotate(-180deg);
              transition: transform 0.3s ease-in-out;
            }
          }
        }

        /deep/.pagination {

          .page-item {
            border-radius: 4px;
            margin-right: 8px;

            .page-link {
              padding: 0;
              line-height: 32px;
              width: 32px;
              margin: 0 1px;
              text-align: center;
              border-radius: 4px;
              color: var(--title-color);
              border-color: @border-color_normal;
              background: unset;

              &:focus {
                outline: 0;
                box-shadow: none;
              }

              .iconfont {
                font-size: 14px;
              }
            }
          }

          .disabled:not([role="separator"]) > .page-link {
            cursor: not-allowed;
            pointer-events: unset;
          }

          .page-item.active .page-link,  .page-item:not(.disabled):hover .page-link{
            z-index: 3;
            color: #00b96b;
            background-color: unset;
            border-color: #00b96b;
          }
        }
      }
    }
  }
}
